package org.tgcloud.group.web.controller.dto.home;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author: zhy
 * @create: 2023-10-25 10:07
 * @description: 首页2区域统计列表
 */
@Data
@ApiModel
public class HomeBusinessList2DTO {
    @ApiModelProperty("区域")
    private String area;

    @ApiModelProperty("区域id")
    private Integer areaId;

    @ApiModelProperty("商务总人数")
    private Integer businessTotalNum;

    @ApiModelProperty("已开单商务人数")
    private Integer hasOrderBusinessNum;

    @ApiModelProperty("开单总额")
    private BigDecimal orderTotalPrice = BigDecimal.ZERO;

    @ApiModelProperty("已签单项目数")
    private Integer hasCheckNum;

    @ApiModelProperty("项目数")
    private Integer mjOrderNum;

    @ApiModelProperty("成交比：已签单项目数/项目数")
    private String hasCheckRate;

    @ApiModelProperty("内部货值")
    private BigDecimal innerPrice = BigDecimal.ZERO;

    @ApiModelProperty("去资利润")
    private BigDecimal noPayRollRate = BigDecimal.ZERO;

    public HomeBusinessList2DTO(String area) {
        this.area = area;
    }

    public HomeBusinessList2DTO(String area, Integer areaId) {
        this.area = area;
        this.areaId = areaId;
    }

    public HomeBusinessList2DTO() {
    }
}
